package com.czgj.JGB28181.common.utils;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

/**
 * 时间格式化
 */
public class DateUtils {

    private static SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss ", Locale.ENGLISH);

    public static String getGBFormatDate(Date date) {
        return dateFormat.format(date).replace(" ", "T");
    }
}
